package com.jackson.service;

import com.rabbitmq.client.Channel;

import java.io.IOException;

/*
 * Author: JacksonCoder
 * FileName: RabbitMqService
 * Version: 1.0.0
 */
public interface RabbitMqService {
    /**
     * 接收消息
     */
    public void receiveMessage(String message, Channel channel,long deliveryTag) throws IOException;

    /**
     * 接收消息
     */
    public void receiveMessage2(String message);

    /**
     * 接收消息
     */
    public void receiveMessage3(String message);

    /**
     * 接收订阅消息1
     */
    public void receiveSubMessage1(String message);

    /**
     * 接收订阅消息2
     */
    public void receiveSubMessage2(String message);
}
